{OVERALL_HEADER}
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><span class="title2">{LANG_INBOX}</span><br>
        <br>
        <table width="100%"  border="0" cellpadding="0" cellspacing="0" style="padding-top:3px;">
          <tr bgcolor="#C7C7C7" class="normal">
            <td height="30" style="padding-left:5px;"><strong style="color:#666666;">Subject</strong></td>
            <td width="1" bgcolor="#FFFFFF"></td>
            <td width="100" height="30" style="padding-left:5px;"><strong style="color:#666666;">From</strong></td>
            <td width="1" bgcolor="#FFFFFF"></td>
            <td width="150" height="30" bgcolor="#C7C7C7" style="padding-left:5px;"><strong style="color:#666666;">Date</strong></td>
          </tr>
    {LOOP: MESSAGES}
    <tr class="normal" style="IF("{MESSAGES.read}"=="0"){font-weight:bold;{:IF}">
      <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;"><a href="private.php?cmd=read&id={MESSAGES.id}">{MESSAGES.subject}</a></td>
      <td width="1" bgcolor="#FFFFFF"></td>
      <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;"><a href="profile.php?id={MESSAGES.from_id}">{MESSAGES.from_username}</a></td>
      <td width="1" bgcolor="#FFFFFF"></td>
      <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">{MESSAGES.date}</td>
    </tr>
    <tr>
      <td colspan="5" height="1" bgcolor="#C7C7C7"></td>
    </tr>
    {/LOOP: MESSAGES} IF("{MESSAGE_COUNT}"=="0"){
		    <tr>
		      <td colspan="5" align="center" height="50"><strong>You currently have no messages</strong></td>
	      </tr>
		    <tr>
		      <td colspan="5" height="1" bgcolor="#C7C7C7"></td>
	      </tr>
		    {:IF}
        </table>
        <br>
        <br></td>
  </tr>
</table>
{OVERALL_FOOTER}